package org.smog.service.auth.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.smog.core.dto.base.BaseDto;
import org.smog.core.validation.NotNullAndEmpty;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-15 11:45
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AuthInput extends BaseDto {
    private static final long serialVersionUID = -3749726055710476576L;

    @ApiModelProperty(value = "用户名", required = true)
    @NotNullAndEmpty(message = "用户名不能为空")
    String userName;

    @ApiModelProperty(value = "密码", required = true)
    @NotNullAndEmpty(message = "密码不能为空")
    String password;
}
